import Vue from 'vue'
import App from './App.vue'
import VueRouter from "vue-router";
import Element from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css';
import routes from "./router/router";
Vue.config.productionTip = false
//加载路由
Vue.use(VueRouter);
Vue.use(Element);

const RouterConfig = {
  mode: 'hash',
  routes: routes
};
const router = new VueRouter(RouterConfig);

new Vue({
  render: h => h(App),
  router: router,
}).$mount('#app')
